import request from '@/utils/request';
import { IQuery } from '@/api/siteInfo/types';

//采集记录

export function page(query: IQuery) {
  return request({
    url: `/largescreen/api/resource/page`,
    method: 'get',
    params: query
  });
}

// 报警记录列表
export function list(query: IQuery) {
  return request({
    url: `/largescreen/alarmInfoHistory/list`,
    method: 'get',
    params: query
  });
}

//获取站点查询列表接口
//站点信息接口
export function getSiteList(query) {
  return request({
    url: `/largescreen/api/largeScree/getSiteList`,
    method: 'get',
    params: query
  });
}
